home *** CD-ROM | disk | FTP | other *** search
/ infoROM 17,000 Product Descriptions for Business / infoROM Product Descriptions for Business - ESX Interactive.ISO / argdemos / hiplot / install.bat < prev    next >
Encoding:
DOS Batch File  |  1993-06-03  |  2.8 KB  |  81 lines

  1. @if "%2"=="" goto help
  2. @  echo --------------------------------------------------------------------
  3. @  echo !
  4. @  echo ! Installing the HiPlot demo from drive %1 to c:\hiplot.
  5. @  echo !   (Microsoft Windows is installed in %2).
  6. @  echo !
  7. @  echo --------------------------------------------------------------------
  8. @  echo If this is not correct, press Ctrl-Break now.  Otherwise
  9. @  pause
  10. @
  11. @  if exist %2\progman.ini goto winfound
  12. @  echo --------------------------------------------------------------------
  13. @  echo !  ERROR... %2\PROGMAN.INI file not found.
  14. @  echo !  Make sure you have entered the correct Windows directory!
  15. @  echo --------------------------------------------------------------------
  16. @  goto help
  17. @
  18. :winfound
  19. @  echo --------------------------------------------------------------------
  20. @  echo !                       Copying files...
  21. @  echo --------------------------------------------------------------------
  22. @  md c:\hiplot
  23. @  copy %1\hiplot.ppt c:\hiplot
  24. @  copy %1\pptview.exe c:\hiplot
  25. @
  26. @  c:
  27. @  cd c:\hiplot
  28. @  hipkzp.exe
  29. @  del hipkzp.exe
  30. @
  31. @  copy %1\hiplot.grp c:\hiplot
  32. @  copy %2\progman.ini %2\progman.bak
  33. @  copy %2\progman.bak + %1\addline.txt %2\progman.ini
  34. @
  35. @  echo --------------------------------------------------------------------
  36. @  echo !                    Installation Complete!
  37. @  echo !
  38. @  echo !     The demo will now start MS-Windows and run automatically
  39. @  echo !
  40. @  echo --------------------------------------------------------------------
  41. @  pause
  42. @  win c:\hiplot\pptview c:\hiplot\hiplot.ppt
  43. @  echo --------------------------------------------------------------------
  44. @  echo !                    HiPlot Demo Complete!
  45. @  echo !
  46. @  echo !         The demo will now remove the files it installed.
  47. @  echo !
  48. @  echo --------------------------------------------------------------------
  49. @  echo To keep the demo loaded, press Ctrl-Break now.  Otherwise
  50. @  pause
  51. @  c:
  52. @  del c:\hiplot\hiplot.grp
  53. @  del c:\hiplot\hiplot.ppt
  54. @  del c:\hiplot\pptview.exe
  55. @  cd c:\
  56. @  rd c:\hiplot
  57. @  copy %2\progman.bak %2\progman.ini
  58. @  
  59. @  echo --------------------------------------------------------------------
  60. @  echo !                           Done!
  61. @  echo --------------------------------------------------------------------
  62. @goto end
  63. @
  64. :help
  65. @  echo --------------------------------------------------------------------
  66. @  echo !
  67. @  echo !  Syntax is INSTALL indrive: outdrive:windowsdir
  68. @  echo !
  69. @  echo !  Where-
  70. @  echo !      indrive:     is the floppy drive to install from.
  71. @  echo !      outdrive:    is the hard drive to install to.
  72. @  echo !      windowsdir:  the directory on outdrive MS-Windows is in.
  73. @  echo !
  74. @  echo !    For example- 
  75. @  echo !      INSTALL a: c:\windows
  76. @  echo !
  77. @  echo --------------------------------------------------------------------
  78. :end
  79.   
  80.